package cn.com.zero.sample.trade.customer.mapper;

import cn.com.zero.db.annotation.DataSource;
import cn.com.zero.sample.trade.customer.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 用户mapper接口
 * @createTime 2022/7/14 16:25
 */
@DataSource("user")
@Mapper
public interface IUserMapper {


    int create(User user);

    User getUserById(@Param("id") Long id);

}
